<template>
  <!--
   时间：2020年4月3日13:50:32
   模块：功能模块 ==》民生走访
   -->
   <div class="div_minshengzoufang">
    <!-- 搜索栏 -->
    <el-card class="div_top_search">
      <p>农户基本信息</p>

      <el-form :inline="true" :model="searchFormData" class="demo-form-inline">
        <el-form-item label="录入人员:">
          <el-input size="mini" v-model="searchFormData.lrry" placeholder="审批人"></el-input>
        </el-form-item>
        <el-form-item label="农户姓名:">
          <el-input size="mini" v-model="searchFormData.lrry" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="上报事项:">
          <el-select size="mini" v-model="searchFormData.name" placeholder="请选择">
            <el-option label="事项一" value="shanghai"></el-option>
            <el-option label="事项二" value="beijing"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="处理人:">
          <el-input size="mini" v-model="searchFormData.lrry" placeholder="请输入"></el-input>
        </el-form-item>
        <el-form-item label="处理部门:">
          <el-select size="mini" v-model="searchFormData.name" placeholder="请选择">
            <el-option label="生活部" value="shanghai"></el-option>
            <el-option label="XX部" value="beijing"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="完成状态:">
          <el-select size="mini" v-model="searchFormData.name" placeholder="请选择">
            <el-option label="已完成" value="shanghai"></el-option>
            <el-option label="未完成" value="beijing"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item>
          <el-button size="mini" type="primary">查 询</el-button>
        </el-form-item>
      </el-form>

    </el-card>

   </div>

</template>

<script>
  import path from '@/libs/api_path.js';
  import util from '@/libs/util.js';
  export default{
    data(){
      return{
        searchFormData:{
          lrry:"",
          name:"",
        },
      }
    },mounted() {
    let $this = this;
    $this.getDataList();
    },methods:{
      //获取数据列表
      getDataList(){
        let params = {
          pageNum:1,
          pageSize:10
        };

        util.fetchGet(`${util.path.peasantList}/${params.pageNum}/${params.pageSize}`).then((res)=>{
          console.log(res);
        })
      }

    }
  }
</script>

<style lang="less" scoped="scoped">
  .div_minshengzoufang{
    .div_top_search{
      width: 100%;


    }
  }
</style>
